<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>

        console.log('\u0061');

        var str = 'hello';
        for(let i of str){
            console.log(i);
        }
        // 字符串模板
        var href = 'https://www.itbaizhan.com';
        var text = 'itbaizhan';

        var a =`<a href="${href}">${text}</a>`;

        var body = document.querySelector('body');
        body.innerHTML = a;


    </script>

</body>
</html>